package com.gyh.system.common.tools;

import java.util.List;

public class ModuleTree {

	private Long id;		//编号
	private String name;	//菜单名
	private Long parentId;	//父级ID
	private int sort;		//排列顺序
	private String icon;	//菜单图标
	private String href;		//菜单连接地址
	private String target;  //打开页面的方式
	private String isShow;  //菜单是否默认打开
	private String perminssion; //访问权限
	private List<ModuleTree> children;
	
	public ModuleTree() {
	}


	public ModuleTree(Long id, String name, Long parentId, int sort, String icon, String href,String target,String isShow,String perminssion) {
		this.id = id;
		this.name = name;
		this.parentId = parentId;
		this.sort = sort;
		this.icon = icon;
		this.href = href;
		this.isShow = isShow;
		this.target = target;
		this.perminssion = perminssion;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	

	public String getTarget() {
		return target;
	}



	public void setTarget(String target) {
		this.target = target;
	}



	public String getIsShow() {
		return isShow;
	}



	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}



	public String getPerminssion() {
		return perminssion;
	}



	public void setPerminssion(String perminssion) {
		this.perminssion = perminssion;
	}

	
	
	public List<ModuleTree> getChildren() {
		return children;
	}

	public void setChildren(List<ModuleTree> children) {
		this.children = children;
	}

	
	
	
	
}
